<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>分享页面</title>
</head>
<style type="text/css">
    img{
        width: 100%;
        padding:0;margin:0;
        display:inherit;
        z-index: 0;
    }
    body
    {
        margin:0;
    }
</style>
<body>
<div class="cover">
    <img id="maskImage" style="display:none;z-index: 999;position:fixed;opacity:1;" src="../../resources/content/images/sharePage/sharePage-new-03.jpg">

    <img src="../../resources/content/images/sharePage/sharePage-new-01.jpg">
    <img src="../../resources/content/images/sharePage/sharePage-new-02.jpg" onclick="downloadPackage()">
</div>
</body>
</html>


<script>
    window.onload=function(){
        is_weixn();
    };

    function is_weixn() {
        var ua = navigator.userAgent.toLowerCase();
        if (ua.match(/MicroMessenger/i) == "micromessenger" && ua.match(/Android/i) == "android") {
            document.getElementById("maskImage").style.display = 'block';
            return true;
        } else {
            return false;
        }
    }

    function downloadPackage() {
        var ua = navigator.userAgent.toLowerCase();
        if (ua.match(/Android/i) == "android") {
            location.href = "http://ovqsey1r6.bkt.clouddn.com/fkjp.apk";
        } else {
            location.href = "https://itunes.apple.com/cn/app/id1285332000?mt=8";
        }
    }
</script>